import Vuex from 'vuex'
import Vue from 'vue';
import createLogger from 'vuex/dist/logger'


import UserIndex from  './User/userIndex'

const debug = true;

Vue.use(Vuex)

export default new Vuex.Store({
    modules:{
      User:  UserIndex
    },
    strict:debug,
    plugins:debug ? [createLogger()] :[]
})
